package vashion.azeroth.common.push.util;

import org.apache.commons.lang.StringUtils;

public class JPushAlertUtils {

	public static String getAlertMsgReplace(String alertMsg, String param, String disburseNo) {
		if(!StringUtils.isBlank(alertMsg)) {
			alertMsg = alertMsg.replaceAll("%s", param);
		}
		if(!StringUtils.isBlank(alertMsg)) {
			alertMsg = alertMsg.replaceAll("%o", disburseNo);
		}
		
		return alertMsg;
	}
	
}
